<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>产品条形码导入</title>
<%@ include file="../../common/Style.jsp"%>
<script type="text/javascript" src="<%=request.getContextPath()%>/conf_files/js/BarcodeGenKeys.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/conf_files/js/HtmlTable.js"></script>
<script>
$(document).ready(function(){
	parent.$.messager.progress('close'); 
	jQuery.excel('InnerTableContent');
	jQuery.excel('PBAOuterTableTitale');
	$("#brandName").focus();
	$("#colorNums").val(0);
	$('#dlg').dialog('close')
	var params = $.serializeObject($('#barcodeGenForm'));
	 $('#dataGrid').datagrid({
		url : 'action/productJSONAction!getSameGroupProductBarcodes',
		queryParams: params,
		fit : true,
		border : false,
		checkOnSelect : false,
		selectOnCheck : false,
		singleSelect:true,
		nowrap : false,
		showFooter:true,
		checkbox:true,
		rownumbers:true,
		columns : [ [
			{
			field : 'year',
			title : '年份季度',
			width : 80,
			align: 'center',
			formatter: function (value, row, index){
				return row.year + row.quarter;
			}	
		},{
			field : 'brand',
			title : '品牌',
			width : 105,
			align: 'center'
				
		},{
			field : 'brandComment',
			title : '品牌备注',
			width : 120
				
		},{
			field : 'categoryLevel',
			title : '产品线',
			width : 80,
			align: 'center'
				
		},{
			field : 'category',
			title : '货品类',
			width : 120,
			align: 'center'
				
		},{
			field : 'productCode',
			title : '货号',
			width : 120,
			align: 'center'
				
		},{
			field : 'color',
			title : '颜色',
			width : 80,
			align: 'center'
				
		},{
			field : 'size',
			title : '尺码',
			width : 80,
			align: 'center'
				
		}, {
			field : 'numPerHand',
			title : '齐码/单位',
			width : 75,
			align: 'center',
			formatter: function (value, row, index){
				return row.numPerHand + row.unit;
			}
		}, {
			field : 'factorySalesPrice',
			title : '厂家零售价',
			width : 75,
			align: 'center'
		}, 
		 {
			field : 'discount',
			title : '折扣',
			width : 60,
			align: 'center'
		},{
			field : 'salesPrice',
			title : '千禧零售价',
			width : 70,
			align: 'center'
		}, {
			field : 'cost',
			title : '进价',
			width : 60,
			align: 'center'
		}, {
			field : 'wholeSalePrice',
			title : '预设价1',
			width : 70,
			align: 'center'
		},{			
			field : 'barcode',
			title : '货品条形码',
			width : 120,
			align: 'center'
		},{			
			field : 'productIdentity',
			title : '公司货号',
			width : 120,
			align: 'center'
		},{			
			field : 'factoryCode',
			title : '厂家货号',
			width : 120,
			align: 'center'
		},{
			field : 'createBy',
			title : '录入人员',
			width : 90,
			align: 'center'
		}, {
			field : 'createTime',
			title : '创建时间',
			width : 140
		}, {	
			field : 'action',
			title : '修改',
			width : 70,
			align: 'center',
			formatter : function(value, row, index) {
				var str = $.formatString('<a href="#" onclick="viewBarcodeDetails(\'{0}\');"><img border="0" src="{1}" title="修改"/></a>', row.barcode,'<%=request.getContextPath()%>/conf_files/easyUI/themes/icons/update.png');
				return str;
			}
		}
		]],
		toolbar : '#toolbar',
	});
});

function checkProductCodeSerialNum(){
    var params=$("#barcodeGenForm").serialize();
    $.post("productJSONAction!checkProductCodeSerialNum",params, checkProductCodeBackProcess,"json");	
}

function checkProductCodeBackProcess(data){
	var returnCode = data.returnCode;
	var tips = data.tip;

	if (returnCode == FAIL){
       $.messager.alert('错误', tips, 'error');
    } else if (returnCode == WARNING){
		tips += "\n 你确定是否继续生成货品和条码?";
    	$.messager.confirm('生成条码', tips, function(r){
    		if (r)
    		   generateBarcode();
    	});
    } else if (returnCode == SUCCESS){
    	generateBarcode();
    }

    $("#saveButton").linkbutton('enable');
}
function generateBarcode(){
	$("#color").find("option").attr("selected","selected"); 
    var params=$("#barcodeGenForm").serialize(); 
    $.post("action/productJSONAction!generateProductBarcode",params, saveBarcodeBackProcess,"json");

}

function saveBarcodeBackProcess(data){
	var returnCode = data.returnCode;

	if (returnCode != SUCCESS){
		$.messager.alert('错误', data.error, 'error');
	}else {
	    var params = $.serializeObject($('#barcodeGenForm')); 
		$('#dataGrid').datagrid('load',params); 
	}
		
	$("#saveButton").linkbutton('enable');
	
	$("#error").html("");
	$("#tip").html("");
	$('#category_level_ID').combobox('setValue', '');
	$('#category_ID').combobox('setValue', '');
	$("#sizeMin").combobox("setValue",'--');
	$("#sizeMax").combobox("setValue",'--');
	$("#salesPrice").textbox("setValue","");
	$("#barcode").textbox("setValue","");
	$("#productCode").textbox("setValue","");
	$("#recCost").textbox("setValue","");
	$("#wholeSalePrice").textbox("setValue","");
	$("#wholeSalePrice2").textbox("setValue","");
	$("#wholeSalePrice3").textbox("setValue","");
	$("#salesPriceFactory").textbox("setValue","");
	$("#costMultiple").textbox("setValue","");
	$("#serialNum").textbox("setValue","");
	$("#color").empty();
	 $("#colorInfo").textbox("setValue","");
	$("#discount").textbox("setValue",'');
	$("#material").textbox("setValue","");
	$("#colorName").textbox("setValue","");
	
    deleteColors();
}

function saveProduct(){

	var error = "";
	if ($("#area_ID").val() == ""){
          error += "地区 - 是必选项<br>";
	} 
	if ($("#year_ID").combobox('getValue') == ""){
        error += "年份 - 是必选项<br>";
	} 
	if ($("#quarter_ID").combobox('getValue') == ""){
          error += "季度 - 是必选项<br>";
	} 
	var brandId = $("#brand_ID").val();
	
	if (brandId==null || brandId == "" || brandId == 0){
          error += "品牌 - 是必选项<br>";
	} 
	
	var categoryId = $("#category_level_ID").combo("getValue");
	if (categoryId == ""){
          error += "产品线 - 是必选项<br>";
	} else if (!isValidPositiveInteger(categoryId)) {
        error += "产品线 - 必须是系统已经存在的类别，请检查<br>";
	}
	
	var categoryId = $("#category_ID").combo("getValue");
	if (categoryId == ""){
          error += "货品类 - 是必选项<br>";
	} else if (!isValidPositiveInteger(categoryId)) {
        error += "货品类 - 必须是系统已经存在的类别，请检查<br>";
	}
	if ($("#productCode").val() == ""){
          error += "货号 - 是必选项<br>";
          $("#productCode").focus();
	}

	var priceValue = $("#salesPrice").val();
	if (priceValue != "" && !isPositiveDouble(priceValue)){
        error += "连锁店零售价 - 必须是大于零数字<br>";
	}

	var wholePriceValue = $("#wholeSalePrice").val();
	if (wholePriceValue != "" && !isPositiveDouble(wholePriceValue)){
        error += "预设价1 - 必须是大于零数字<br>";
	}
	var wholePriceValue2 = $("#wholeSalePrice2").val();
	if (wholePriceValue2 != "" && !isPositiveDouble(wholePriceValue2)){
        error += "预设价2 - 必须是大于零数字<br>";
	}
	var wholePriceValue3 = $("#wholeSalePrice3").val();
	if (wholePriceValue3 != "" && !isPositiveDouble(wholePriceValue3)){
        error += "预设价3 - 必须是大于零数字<br>";
	}

	var discount = $("#discount").val();
	if (discount != "" && !isPositiveDouble(discount)){
        error += "折扣 - 必须是大于零数字<br>";
	} else if (discount != "" && (discount < 0 || discount >1)){
        error += "折扣 - 必须是小于或者等于1的正数<br>";
	}
	
	if (error == ""){
		var colors = $("#color").text();
		var sizes = $("#size").text();

        if (colors !="" || sizes != "" ){
        	var msg ="你确定要生成此颜色组和尺码组条码:\n" + colors + "\n" + sizes;
        	$.messager.confirm('生成条码', msg, function(r){
        		if (r)
				    checkProductCodeSerialNum();
				else 
					$("#saveButton").linkbutton('enable');
        	});
        } else 
        	checkProductCodeSerialNum();
	} else{
		$.messager.alert('错误', error);
		$("#saveButton").linkbutton('enable');
	}

}


function getProductColors(){
	var serialNum = $("#serialNum").textbox("getValue");
	var params = "formBean.productBarcode.product.serialNum=" + serialNum;
    $.post("action/productJSONAction!getProductInforBySerialNum",params, getProductBySNBackProcess,"json");
}

function getProductBySNBackProcess(data){
	var response = data.response;
	var returnCode = response.returnCode;
	if (returnCode != SUCCESS)
	$.messager.alert('错误', response.message);
	else {
		var returnValue = response.returnValue;
		var colors = returnValue.color;
		$("#colorsDiv").html(colors);

		var productInfor = returnValue.product;
		assignProductValue(productInfor);
	}
}
function assignProductValue(p){
	if (p != undefined && p != null){
		$("#salesPrice").textbox("setValue",p.salesPrice);
		$("#productCode").textbox("setValue",p.productCode);
		$("#recCost").textbox("setValue",p.recCost);
		if (p.wholeSalePrice > 0)
		   $("#wholeSalePrice").textbox("setValue",p.wholeSalePrice);
		if (p.wholeSalePrice2 > 0)
			$("#wholeSalePrice2").textbox("setValue",p.wholeSalePrice2);
		if (p.wholeSalePrice3 > 0)
			$("#wholeSalePrice3").textbox("setValue",p.wholeSalePrice3);
		if (p.salesPriceFactory > 0)
		    $("#salesPriceFactory").textbox("setValue",p.salesPriceFactory);
		$("#discount").textbox("setValue",p.discount);
		$("#numPerHand").textbox("setValue",p.numPerHand);
		$("#unit").combobox("setValue",p.unit);
		$("#year_ID").combobox("setValue",p.year.year_ID);
		$("#quarter_ID").combobox("setValue",p.quarter.quarter_ID);
		$("#brand_ID").val(p.brand.brand_ID);
		$("#brandName").textbox("setValue",p.brand.brand_Name);
		$("#salesPrice").textbox("setValue",p.salesPrice);
		$("#category_ID").combobox("select",p.category.category_ID);
		$("#category_level_ID").combobox("select",p.categoryLevel1.category_ID);
		$("#sizeMin").combobox("select",p.sizeMin);
		$("#sizeMax").combobox("select",p.sizeMax);
		$("#material").textbox("setValue",p.material);
		$("#costMultiple").textbox("setValue",p.costMultiple);	
		$("#img").attr('src', p.picPath); 

	}
}
function clearAllData(){
	$("#error").html("");
	$("#tip").html("");
	$('#category_level_ID').combobox('setValue', '');
	$('#category_ID').combobox('setValue', '');
	$("#sizeMin").combobox("setValue",'--');
	$("#sizeMax").combobox("setValue",'--');
	$("#brandName").textbox("setValue","");
	$("#salesPrice").textbox("setValue","");
	$("#barcode").textbox("setValue","");
	$("#productCode").textbox("setValue","");
	$("#recCost").textbox("setValue","");
	$("#wholeSalePrice").textbox("setValue","");
	$("#wholeSalePrice2").textbox("setValue","");
	$("#wholeSalePrice3").textbox("setValue","");
	$("#salesPriceFactory").textbox("setValue","");
	$("#costMultiple").textbox("setValue","");
	$("#serialNum").textbox("setValue","");
	$("#color").empty();
	 $("#colorInfo").textbox("setValue","");
	$("#discount").textbox("setValue",'');
	$("#material").textbox("setValue","");
	$("#colorName").textbox("setValue","");
	
    $('#orgTablebody tr').each(function () {                
        $(this).remove();
    });
    deleteColors();
}
/**
 * once click the button, it will help to search brand
 */
function searchColor(){
	var colorName = $.trim($("#colorName").val());
	if (colorName != "") {
	    var params= "formBean.colorNames=" + colorName  ; 
    
        var url = encodeURI(encodeURI("productJSPAction!searchColor?" +params));
	
        window.open(url,'新窗口','height=400, width=300, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no');  
	} else {
        alert("请输入颜色名称");
    }; 
}
function selectColor(data){
	var dataArray = data.split(";");
	$.each(dataArray,function(key,val){
	    if (val != ""){
		    var added = false;
            var colorArray = val.split(",");
            $("#color option").each(function(){
            	   if($(this).val() == colorArray[0])
            	      added = true;
            	   });
     	   if (added == false)
              $("#color").append("<option value='"+ colorArray[0]+"'>"+ colorArray[1]+"</option>");
		}
	});
}
function removeColor(){
	$("#color").find("option:selected").each(function(){
	   var removeColor = $(this).val();
	   if (removeColor != 0 && removeColor != undefined)
		   $("#color option[value='"+removeColor+"']").remove();  
       });
}

function removeFile(){

	$("#img").attr('src', '<%=request.getContextPath()%>/conf_files/web-image/default.png'); 
}


function clickSize(){
	var sizes = $("#size").val().toString().split(",");
	if (sizes[0] == "")
		$("#size").find("option:selected").attr("selected", false);
}





</script>

</head>
<body>

<div class="easyui-layout" data-options="border : false"  style="height: 790px;">
		<div data-options="region:'north',border:false" style="height: 500px;">
	<s:form id="barcodeGenForm"  validate="false" name="barcodeGenForm" action="/productJSPAction!uploadFile" enctype="multipart/form-data" method="POST" theme="simple">
		<table width="95%" align="center" class="OuterTable">
			<tr>
				<td>

					<table width="100%" border="0">
						<s:hidden name="formBean.productBarcode.product.area.area_ID"
							value="1" />

						<tr class="InnerTableContent">
							<td height="4" colspan="11"><strong>1.基础信息</strong></td>
						</tr>
						<tr class="InnerTableContent">
							<td height="4" colspan="11"><hr width="100%" color="#FFCC00" /></td>
						</tr>
						<tr class="InnerTableContent">
							<td width="90" height="19" align="center"><strong>年份：</strong></td>
							<td width="120"><s:select cssClass="easyui-combobox"
									style="width:120px;text-align: center"
									name="formBean.productBarcode.product.year.year_ID" size="1"
									id="year_ID" list="uiBean.basicData.yearList" listKey="year_ID"
									listValue="year" /></td>
							<td width="70" align="center"><strong>季度：</strong></td>
							<td><s:select cssClass="easyui-combobox"
									style="width:120px;text-align: center"
									name="formBean.productBarcode.product.quarter.quarter_ID"
									size="1" id="quarter_ID" list="uiBean.basicData.quarterList"
									listKey="quarter_ID" listValue="quarter_Name" /></td>
							<td width="85" align="center"><strong style="color:red">*</strong><strong>品牌：</strong></td>
							<td width="227"><%@ include file="BrandsInput.jsp"%>
							</td>
							<td align="center"><strong style="color:red">*</strong><strong>产品线：</strong></td>
							<td ><s:select
									name="formBean.productBarcode.product.categoryLevel1.category_ID"
									style="width:130px" cssClass="easyui-combobox" size="1"
									id="category_level_ID" data-options="prompt:'请选择产品线'"
									list="uiBean.basicData.categoryLevelList" listKey="category_ID"
									listValue="category_Name" headerKey="" headerValue="" /></td>
							<td width="85" align="center"><strong style="color:red">*</strong><strong>货品类：</strong></td>
							<td ><s:select
									name="formBean.productBarcode.product.category.category_ID"
									style="width:130px" cssClass="easyui-combobox" size="1"
									id="category_ID" data-options="prompt:'请选择货品类型'"
									list="uiBean.basicData.categoryList" listKey="category_ID"
									listValue="category_Name" headerKey="" headerValue="" /></td>


						</tr>
						<tr class="InnerTableContent">
							<td height="19" align="center"><strong>齐码数量：</strong></td>
							<td><s:select cssClass="easyui-combobox"
									style="width:120px;text-align: center"
									name="formBean.productBarcode.product.numPerHand" size="1"
									id="numPerHand" list="uiBean.basicData.numPerHandList"
									listKey="numPerHand" listValue="numPerHand" /></td>
							<td align="center"><strong>单位：</strong></td>
							<td><s:select name="formBean.productBarcode.product.unit"
									cssClass="easyui-combobox" size="1" id="unit"
									list="uiBean.basicData.unitList"
									style="width:120px;text-align: center" listKey="productUnit"
									listValue="productUnit" /></td>

							<td align="center"><strong>最小码：</strong></td>
							<td>
							<s:select style="width: 130px" cssClass="easyui-combobox" id="sizeMin" name="formBean.productBarcode.product.sizeMin"  list="#{'60':'60','70':'70','80':'80','90':'90','100':'100','110':'110','120':'120','130':'130','140':'140','150':'150','160':'160','170':'170'}" listKey="key" listValue="value" headerKey="0" headerValue="--" />
							</td>

							<td align="center"><strong>最大码：</strong></td>
							<td><s:select style="width: 130px"  cssClass="easyui-combobox"  id="sizeMax" name="formBean.productBarcode.product.sizeMax"  list="#{'110':'110','120':'120','130':'130','140':'140','150':'150','160':'160','170':'170','180':'180','190':'190'}" listKey="key" listValue="value" headerKey="0" headerValue="--" />
							</td>							
							<td>&nbsp;</td>
							<td>&nbsp;</td>

						</tr>
						<tr class="InnerTableContent">
							<td height="4" colspan="11"><hr width="100%" color="#FFCC00" /></td>
						</tr>
						<tr class="InnerTableContent">
							<td height="4" colspan="11"><strong>2.价格信息</strong></td>
						</tr>
						<tr class="InnerTableContent">
							<td height="4" colspan="11"><hr width="100%" color="#FFCC00" /></td>
						</tr>
						<tr class="InnerTableContent">
							<td height="19" align="center"><strong style="color:red">*</strong><strong>货号：</strong></td>
							<td><input type="text" class="easyui-textbox" 
								data-options="prompt:'请输入货号'"
								name="formBean.productBarcode.product.productCode" 
								id="productCode" onfocus="this.select();" maxlength="20"
								size="14" /></td>
							<td align="center"><strong>进价:</strong></td>
							<td><input type="text" class="easyui-textbox"
								data-options="prompt:'请输入进价'"
								name="formBean.productBarcode.product.recCost" id="recCost"
								onfocus="this.select();" size="14" /></td>
							<td align="center"><strong>厂家零售价：</strong></td>
							<td><input type="text" class="easyui-textbox"
								data-options="prompt:'请输入厂家价'"
								name="formBean.productBarcode.product.salesPriceFactory"
								id="salesPriceFactory" onfocus="this.select();" size="14" /></td>
							<td align="center"><strong>折扣:</strong></td>
							<td><input type="text" class="easyui-textbox"
								data-options="prompt:'请输入折扣'"
								name="formBean.productBarcode.product.discount" id="discount"
								onfocus="this.select();" size="14" /></td>
							
							<td align="center"><strong>成本倍数：</strong></td>
							<td><input type="text" class="easyui-textbox"
								data-options="prompt:'请输入成本倍数'"
								name="formBean.productBarcode.product.costMultiple"
								id="costMultiple" onfocus="this.select();" size="14"></td>
							
						</tr>
						<tr class="InnerTableContent">
							<td height="19" align="center"><strong style="color:red">*</strong><strong>厂家货号：</strong></td>
							<td><input type="text" class="easyui-textbox" 
								data-options="prompt:'请输入厂家货号'"
								name="formBean.productBarcode.product.factoryCode" 
								id="factoryCode" onfocus="this.select();" maxlength="20"
								size="14" /></td>
							<td align="center"><strong style="color:red">*</strong><strong>千禧吊牌价：</strong></td>
							<td><input type="text" class="easyui-textbox"
								data-options="prompt:'请输入千禧价'"
								name="formBean.productBarcode.product.salesPrice"
								id="salesPrice" onfocus="this.select();" size="14" /></td>
							<td height="19" align="center"><strong>预设价1：</strong></td>
							<td><input type="text" class="easyui-textbox"
								data-options="prompt:'请输入预设价1'"
								name="formBean.productBarcode.product.wholeSalePrice"
								id="wholeSalePrice" onfocus="this.select();" size="14" /></td>
							<td align="center"><strong>预设价2：</strong></td>
							<td><input type="text" class="easyui-textbox"
								data-options="prompt:'请输入预设价2'"
								name="formBean.productBarcode.product.wholeSalePrice2"
								id="wholeSalePrice2" onfocus="this.select();" size="14" /></td>
							<td align="center"><strong>预设价3：</strong></td>
							<td><input type="text" class="easyui-textbox"
								data-options="prompt:'请输入预设价3'"
								name="formBean.productBarcode.product.wholeSalePrice3"
								id="wholeSalePrice3" onfocus="this.select();" size="14" /></td>

							<td>&nbsp;</td>
						</tr>

						<tr class="InnerTableContent">
							<td height="4" colspan="11"><hr width="100%" color="#FFCC00" /></td>
						</tr>
						<tr class="InnerTableContent">
							<td height="4" colspan="11"><strong>3.编码查找</strong></td>
						</tr>

						<tr class="InnerTableContent">
							<td height="4" colspan="11"><hr width="100%" color="#FFCC00" /></td>
						</tr>
						<tr class="InnerTableContent">
							<td height="19" align="center"><strong>商品编码：</strong></td>
							<td colspan="9"><input type="text" class="easyui-textbox"
								data-options="prompt:'请输入商品编码'"
								name="formBean.productBarcode.product.serialNum" id="serialNum"
								onfocus="this.select();" /> <a href="#" id="searchSerialNum"
								class="easyui-linkbutton c8" onclick="getProductColors();">获取已录信息</a><text style="color:red">*(当需要为已经存在的货品添加额外颜色和尺码的条码时，请输入)</text>
								<br />
								<div id="colorsDiv"></div></td>
						</tr>
						<tr class="InnerTableContent">
							<td height="4" colspan="11"><hr width="100%" color="#FFCC00" /></td>
						</tr>
						<tr class="InnerTableContent">
							<td height="4" colspan="11" align="left"><strong>4.货品信息</strong></td>
						</tr>
						<tr class="InnerTableContent">
							<td height="4" colspan="11"><hr width="100%" color="#FFCC00" /></td>
						</tr>
						<tr class="InnerTableContent">
							
							<td colspan="4"><%@ include
												file="ColorInput.jsp"%></td>							

							<td align="center"><strong>面料成份：</strong></td>
							<td ><input type="text" class="easyui-textbox"
									data-options="prompt:'请输入面料成分'"
									name="formBean.productBarcode.product.material" id="material" size="35"/></td>
							<td align="center"></td>
							<td colspan="3"></td>
							<td rowspan="2" id="imgtd"></td>
							
						</tr>

						<tr class="InnerTableContent">
							<td height="4" colspan="11"><hr width="100%" color="#FFCC00" /></td>
						</tr>
						
						<tr class="InnerTableContent">
							<td height="30">&nbsp;</td>
							<td ><a id="saveButton"  href="#" class="easyui-linkbutton c8" data-options="iconCls:'icon-save'" 
								name="saveButton"  onclick="saveProduct();" >保存产品信息</a></td>
							<td ><a id="saveButton" style="width:100px;"  href="#" class="easyui-linkbutton c8" data-options="iconCls:'icon-reload'" 
								name="saveButton"  onclick="clearAllData();" >重置信息</a></td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
						</tr>


					</table>
				</td>
			</tr>
		</table>
	</s:form>
	</div>
	
		<div data-options="region:'center',border:true" style="height: 150px;">
		    <form name="barcodeForm" id="barcodeForm" action="" method="post"></form>
			<table id="dataGrid" border="1">
			
			</table>
			<div id="toolbar" style="display: none;" >
				<span>同类型条形码</span>
						
			</div>
		</div>
		<%@ include file="../common/UpdateBarcodeDiglog.jsp"%>
	</div>
	<br />
</body>
</html>